﻿using UnityEngine;

public class UIListItemTexture : UIComponent {
	// === Public =====================================================================================================
	public UIListItemTexture(Texture image, ScaleMode mode) {
		_image = image;
		_mode = mode;
		SetSize(60, 60);
	}

	public Texture GetTexture() { return _image; }
	public ScaleMode GetScaleMode() { return _mode; }

	// === Private ====================================================================================================
	private readonly Texture _image;
	private readonly ScaleMode _mode;
}
